package com.whut.mapper;

import com.whut.model.Newmembershipinfo;

public interface NewmembershipinfoMapper {
    int deleteByPrimaryKey(Integer mKey);

    int insert(Newmembershipinfo record);

    int insertSelective(Newmembershipinfo record);

    Newmembershipinfo selectByPrimaryKey(Integer mKey);

    int updateByPrimaryKeySelective(Newmembershipinfo record);

    int updateByPrimaryKey(Newmembershipinfo record);

    void deleteNewMemberShipInfo();

    Newmembershipinfo findMemberShipByRisksNum(String maxRiskName,String secondaryRiskName, Integer maxRiskNum, Integer secondaryRiskNum);

    Newmembershipinfo findMemberShipByRisksNumAndLastRiskName(String maxRiskName, String secondaryRiskName, String lastRiskName, Integer maxRiskNum, Integer secondaryRiskNum);
}